package com.sxkf.template.service;


import com.sxkf.template.entity.User;
import com.sxkf.template.vo.request.user.UserLoginVo;

import javax.servlet.http.HttpServletRequest;

public interface LoginService {

    UserLoginVo wxLogin(String openCode, String phoneCode);

    UserLoginVo telLogin(String phoneNumber, String captcha);

    UserLoginVo pwdLogin(String phoneNumber, String password);

    void sendCaptcha(String phoneNumber);

    UserLoginVo register(User user);

    String logout(HttpServletRequest request);

    Boolean forgetPass(String phoneNumber, String captcha, String newPass);

    void sendForgetCaptcha(String phoneNumber);
}